package com.aspirecn.gateway.domain;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * @author chenyuanli
 */
@Entity
@Table(name = "t_gateway_api")
@Data
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = false)
public class GatewayApi implements Serializable {
    /**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	@Id
	private String id;
    private String path;
    private String serviceId;
    private String url;
    private Boolean retryable;
    private Boolean enabled;
    private Boolean stripPrefix;
    private String apiName;
    private String createdBy;
    private Date createdDate;
    private String lastModifiedBy;
    private Date lastModifiedDate;   
    
    
}
